from fake_useragent import UserAgent

ua = UserAgent()
headers = {}
headers['User-Agent'] = ua.random
print(headers)